package com.xl.sst.biz.impl;



import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xl.sst.biz.OrderBiz;
import com.xl.sst.dao.OrderDao;
import com.xl.sst.vo.Order;


@Service
public class OrderBizImpl implements OrderBiz{

	@Resource
	private OrderDao orderDao;
	public OrderDao getOrderDao() {
		return orderDao;
	}
	public void setOrderDao(OrderDao orderDao) {
		this.orderDao = orderDao;
	}
	//订单生成
	public boolean orderAdd(Order o) {
		return orderDao.orderAdd(o)==1?true:false;
	}
}
